package com.dyna.cp.mybatis.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.dyna.constants.DateFatter;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @description demo_edu_situation
 * @author zhoucaiwang
 * @date 2024-09-03
 */
@Data
@ApiModel("demo_edu_experience")
public class DemoEduExperience implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键id     primary key")
    private Integer id;

    
    @ApiModelProperty("用户")
    private Integer userId;

    
    @ApiModelProperty("学校名称")
    private String schoolName;

    
    @ApiModelProperty("就读开始时间")
    @JsonFormat(pattern = DateFatter.YYYY_MM_DD_HH_MM_SS)
    private LocalDateTime beginTime;

    
    @ApiModelProperty("就读结束时间")
    @JsonFormat(pattern = DateFatter.YYYY_MM_DD_HH_MM_SS)
    private LocalDateTime endTime;

    
    @ApiModelProperty("专业")
    private String profession;

    
    @ApiModelProperty("教育背景/学历")
    private String eduBackground;

    
    @ApiModelProperty("备注信息")
    private String remark;

    
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = DateFatter.YYYY_MM_DD_HH_MM_SS)
    private LocalDateTime createTime;

}